package com.xcity.pomelo.response;

import com.xcity.db.entity.Employee;
import com.xcity.pomelo.response.EmployeeInfoResponse.EmployeeInfo;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class EquipmentOperationResponse extends Response {
	
	protected EmployeeInfo employee;
	
	public EquipmentOperationResponse(int serial, Employee employee) {
		super(serial);
		this.employee = new EmployeeInfo(employee);
	}

	public EmployeeInfo getEmployee() {
		return employee;
	}

	public void setEmployee(EmployeeInfo employee) {
		this.employee = employee;
	}

}
